package com.example.shiyan.entity;

import lombok.Data;

@Data
public class Student{

    private int id;
    private String no;
    private String name;
    private String sex;
    private String phone;
    private String qq;


    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public Student(String no, String name, String sex, String phone, String qq){
        this.no=no;
        this.name=name;
        this.sex=sex;
        this.phone=phone;
        this.qq=qq;
    }
}
